Battery charging method and electronic device

ABSTRACT

A method comprises providing power from a battery to an external device using a first circuit; and receiving power from a first power source to provide power to the battery using a second circuit while providing power to the external device.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No. 15/715,042, filed on Sep. 25, 2017, which is a continuation of U.S. application Ser. No. 13/908,311, filed on Jun. 3, 2013, now U.S. Pat. No. 9,787,130, which claims priority to Korean Patent Application No. 10-2012-0065421, filed Jun. 19, 2012. The contents of each of these applications are incorporated herein in their entirety.

TECHNICAL FIELD

The present disclosure relates to a method for charging a battery of an electronic device.

BACKGROUND

With popular and high demand for a portable electronic device, there is a growing interest in a high performance battery that can extend battery life and improve its performance.

An electronic device may provide a USB (Universal Serial Bus) On-The-Go (OTG) function. The USB OTG function allows electronic devices, such as a Personal Digital Assistant (PDA), a MP3 player, a mobile phone, a mouse, a keyboard, a memory and the like, to communicate with each other through a USB connection without intervention of a computer. For example, a function of transmitting data when a storage device is connected to a mobile phone through a USB connection is called an USB OTG function.

A USB connection may provide for a supply of power (e.g. 5-volt power supply) and it may be possible to use a USB cable as a power source for recharging batteries. For example, when a USB OTG operation is performed, an electronic device acting as a server may supply power to an electronic device acting as a client. In addition, an electronic device may be supplied with one specific charging circuit selected by a manufacturer. For example, the electronic device may include one specific charging circuit selected by a manufacturer.

SUMMARY

A method in an electronic device comprises: providing power from a battery to an external device using a first circuit; and receiving power from a first power source to provide power to the battery using a second circuit while providing power to the external device.

An electronic device comprises: a battery; a first circuit for providing power from the battery to an external device; and a second circuit for receiving power from a first power source to provide power to the battery while the first power source provides the power to the external device.

A method in an electronic device comprises: selecting a circuit from a plurality of circuits, based on determining that a first electronic device is connected to a second electronic device; and charging a battery using power supplied from the first electronic device via the selected charging circuit.

An electronic device comprises: a battery; a plurality of charging circuits; and a processor for selecting a circuit from a plurality of circuits, based on determining that a first electronic device is connected to a second electronic device, wherein the selected circuit charges the battery using power supplied from the first electronic device.

BRIEF DESCRIPTION OF THE DRAWINGS

For purposes of explanation, several aspects of the present disclosure are set forth in the following figures.

FIG. 1 is a diagram illustrating a block configuration of an electronic device according to the present disclosure;

FIGS. 2A and 2B is a diagram illustrating block configuration of the charging unit of an electronic device according to the present disclosure;

FIG. 3 is a diagram illustrating a procedure of performing an OTG and charging according to an embodiment of the present disclosure;

FIG. 4 is a diagram illustrating a procedure of performing a wire charging according to an embodiment of the present disclosure;

FIG. 5A is a diagram illustrating a procedure of performing an OTG operation according to an embodiment of the present disclosure;

FIG. 5B is a diagram means for a procedure of performing a wireless charging while performing an OTG operation according to the present disclosure;

FIG. 6A is a diagram illustrating a procedure of performing s wire charging according to an embodiment of the present disclosure; and

FIG. 6B is a diagram illustrating means for performing a wire charging procedure according to the present disclosure.

DETAILED DESCRIPTION

Various embodiments of the present disclosure are described below with reference to the accompanying drawings. For the purposes of clarity and simplicity, detailed descriptions of well-known functions or configurations may be omitted as they may unnecessarily obscure the subject matters of the present disclosure.

An electronic device described in the present disclosure may be, for example, a mobile terminal, a smart phone, a tablet personal computer, a digital camera, a MP3 player, a laptop computer, a netbook and a potable game player, or other electronic devices having a battery. A battery as described in the present disclosure may be a rechargeable battery.

The following description will be given for an example case where an electronic device includes two charging circuits. However, it should be noted that the teachings of the present disclosure can be applied to a case where the electronic device includes two or more charging circuits.

FIG. 1 illustrates a block configuration of an electronic device according to the present disclosure.

Referring to FIG. 1, the electronic device may include a processor 100, a memory 110, a charging unit 120, an external device interface 130, and a touch screen 140.

The processor 100 may execute various software programs to control and process an overall operation of the electronic device. The processor 100 may execute software programs stored in the memory 110 to perform functions corresponding to the executed software programs. The operation described below that may be described as being performed by the processor 100 may also be performed by at least one hardware that is separately configured, and/or may be performed by software. For example, the operations of the processor 100 may be executed directly by hardware integrated in the charging unit 120. The processor 100 may be implemented using one or more processors.

The processor 100 according to the present disclosure may execute an OTG control program 113 stored in the memory 110 to operate in a USB OTG mode. That is, the processor 100 may control functions for supplying power while communicating with a device that is connected through the external device interface 130. For example, the connected device may be an external electronic device capable of being connected to the electronic device through a USB connection such as, for example, a mobile phone, a keyboard, a mouse or a storage device, for exchanging signals. The connected device may be, for example, a wire-connection device which is connected to the electronic device using a wired connection.

Further, the processor 100 may execute a charging control program 114 to cause the charging unit 120 to receive power from a wired charging device and/or a wireless charging device connected to the electronic device through the external device interface 130 for charging a battery. The processor 100 may cause power supplied from a wire charging device and a wireless charging device, both of which may be supplied through the external device interface 130, to be applied to the charging device 120 through different input terminals. Using the different input terminals, the charging unit 120 can perform wire charging and wireless charging simultaneously. The wired charging device may be, for example, a Travel Adaptor (TA) or a USB charger that are connected to the electronic device through USB connection. The wireless charging device may be, for example, an external device wirelessly connected to the electronic device through the external device interface 130.

Further, the processor 100 may cause the charging unit 120 to charge a battery by wireless charging from the external device interface 130 during a wireless charging mode while, for example, the electronic device is in the USB OTG mode.

In addition, for example, when the connection of the wired charging device (e.g., power adapter) to the external device interface 130 is detected, the processor 100 may detect the ID, type and/or charge capacity of the connected wired charging device. The processor 100 may select a suitable charging circuit (or circuitry) corresponding to the detected ID, type and/or charge capacity of the wired charging device between the two charging circuits that are included in the charging unit 120, and then may cause the charging unit 120 to charge the battery through the selected charging circuit. The processor 100 can obtain information about the type of the wire charging device through the ID information received from the charging device. The ID information of the charging device may be obtained, for example, based on a detected voltage (or a current) value at ID pin included in the external device interface 130. For example, if the voltage (current) value detected via the external device interface 130 is one corresponding to the connection a travel adaptor (TA) (, the processor may determine the type of the wire charging device to the external device interface 130 as the TA. As another example, if the resistance value detected via the external device interface 130 is another corresponding to a USB storage device or a USB charger, the processor may determine the type of the wire charging device to the external device interface 130 as the USB storage device or the USB charger.

The memory 110 stores various programs and data including commands for an overall operation of the electronic device. The memory 110 may be implemented, for example, using one of high-speed random-access memory (RAMs) and/or nonvolatile memory such as a magnetic disk storage device, one or more optical storage devices, and/or a flash memory (for example, NAND flash memory or NOR flash memory).

The various programs stored in the memory 110 may include a display control program 111, a touch processing program 112, an OTG control program 113 and a charging control program 114. In addition, the memory 110 may store charge circuitry selection information corresponding to type and/or charge capacity of a particular charging device that may be used in determining the charge circuitry for charging the electronic device.

The display control program 111 may include instructions for displaying various information generated during operation of the electronic device on the display unit 141. For example, the display control program 111 may include instructions for displaying information indicating that the electronic device is performing a wired charging and/or a wireless charging on the display unit 141 and instructions for displaying information indicating that the electronic device is performing the USB OTG operation while performing a wireless charging on the display unit 141.

The touch processing program 112 includes a command for detecting a user input generated through the input unit 142 of the touch screen during operation of the electronic device. For example, the touch processing program 112 may include a command for detecting a user input requiring entry into the USB OTG mode.

The OTG control program 113 may include instructions for supplying power to the wire-connection device when the wire-connection device is detected through the external device interface 130, while communicating with the detected wire-connection device.

The charging control program 114 may include instructions for receiving power from the wire charging device and/or the wireless charging device connected to the electronic device and enabling the battery to be charged when a connection to the wire charging device and/or the wireless charging device is detected through the external device interface 130.

In addition, the charging control program 114 may include instructions for selecting a charging circuit corresponding to the type and/or charge capacity of a specific wire charging device when the connection to the wire charging device is detected and charging the battery using the selected charging circuit. For example, if the ID of the wired charging device represent's a TA having a charging current equal to or greater than 1 A, the charging control program 114 may select a switching charging circuit which may have higher efficiency and lower heat generation. If the ID of the wire charging device represents a USB storage device having a charging current of 400 mA or a TA having a charging current of 500 mA, the charging control program 114 may select a linear charging circuit which may have higher resistance to Electro Magnetic Interference (EMI) and a headroom voltage.

For selecting a charging circuit based on the detected ID of the wire charging device as discussed above, charging current information of the wire charging devices or charging circuit information, for the respective IDs of the wire charging device, may be used. The charging current information and/or the charging circuit information may be stored, for example in the memory 110.

In another example, the charging control program 114 may include a command for selecting the switching charging circuit if the charge capacity of the wire charging device is equal to or higher than a threshold value or selecting the linear charging circuit if the charge capacity of the wire charging device is tower than the threshold value. The switching charging circuit may be a charging circuit for performing the supply and shut-off of power repeatedly, and may include one of a switching regulator, a buck regulator, a booster regulator and a SEPIC regulator. The linear charging circuit may be a charging circuit that supplies some voltage out of an entire available voltage for charging, while dissipating remaining voltage as heat. The linear charging circuit may include a linear regulator.

For charging the battery (not shown), the charging unit 120 may receive power from a wireless charging device and/or a wired charging device connected the electronic device via an external device interface according to the control of the processor 100. That is, for charging the battery, the charging unit 120 may convert power supplied from the wireless charging device and/or the wired charging device into a charging voltage and a charging current that are suitable for the electronic device. In addition, the charging unit 120 may provide the wire-connection device connected to the electronic device through the external device interface 130 with the charging voltage and charging current of the battery (not shown). The charging unit 120 may detect a wireless charging event by detecting induced current inputted via an external device interface.

According to an embodiment of the present disclosure, the charging unit 120 may include a first charging circuit 200 and a second charging circuit 210 which receive different inputs as illustrated in FIG. 2A.

Referring to FIG. 2A, the first charging circuit 200 is electrically connected to the wire charging device or the wire-connection device which is wire-connected to the electronic device via an external device interface 130. The first charging circuit 200 may convert power supplied from the wire charging device into a charging voltage and a charging current according to a control signal from the processor 100 and may also provide the connected charging voltage and charging current to the battery 220. The first charging circuit 200 may provide the charging voltage and the charging current of the battery 220 to the wire connection device according to the control signal. Also, the first charging circuit 200 may include a switch, and through a switching operation controlled by the processor 100, may provide power supplied from the wire charging device to the second charging circuit 210 without processing. Further, when the wire charging device is connected to the electronic device through the external device interface 130, the first charging circuit 200 may determine the capacity of the charging current (charging capacity) of the wire charging device and may inform the processor 100 of the charging capacity. Moreover, depending on designs, the first charging circuit 200 may determine charging capacity of the connected wire charging device, and directly process the received power according to the determined charging capacity without control of the processor 100, to charge the battery. The first charging circuit 200 may be, for example, a switching charging circuit or a linear charging circuit.

The second charging circuit 210 may receive power input from the wireless charging device wirelessly connected to the electronic device through the external device interface 130. The second charging circuit 200 may convert the power supplied from the wireless charging device into the charging voltage and the charging current, according to the control signal of the processor 100, and provide to the battery 220. The second charging circuit 200 may be a switching charging circuit or a linear charging circuit. For example, the first charging circuit 200 and the second charging circuit 210 may be the same type of charging circuit or different types of charging circuits. In addition, the first charging circuit 200 and the second charging circuit 210 may be integrated into a single chip or respectively into two chips.

As described above, by including the first charging circuit 200 and the second charging circuit 210 the charging unit 120 may charge the battery 220 by receiving power from the wire charging device and at the same time from the wireless charging device through the first charging circuit 200 and the second charging circuit, respectively. In addition, the charging unit 120 can supply power from the battery 220 to the wire connection device that is connected to the electronic device through the external device interface 130 via the first charging circuit 200, and at the same time receive the power from the wireless charging device that is connected to the electronic device through the external device interface 130 via the second charging circuit 210 to charge the battery 220.

According to another embodiment of the present disclosure, the charging unit 120 may include a first charging circuit 200, second charging circuit 210 and a switch 202 as illustrated in FIG. 2B.

Referring to FIG. 2B, the switch 202 may perform a switching operation to connect the first charging circuit 200 and power supply path of the wire charging device or connect the second charging circuit 210 and power supply path of the wire charging device, according to a control signal from the processor 100. For example, the switch 202 may connect the first charging circuit 200 and power supply path of the wire charging device and provide the power supplied from the wire charging device to the first charging circuit. As another example, the switch 202 may connect the second charging circuit 210 and power supply path of the wire charging device and provide the power supplied from the wire charging device to the second charging circuit.

The first charging circuit 200 may be electrically connected to the wire charging device via the switch 202 and via the external device interface 130. The first charging circuit 200 may convert power supplied from the wire charging device into a charging voltage and a charging current, and provide the converted charging voltage and charging current to the battery 220. Further, the first charging circuit 200 may determine the capacity of the charging current (e.g., charging capacity) of the wire charging device and inform the processor 100 of the charging capacity when the wire charging device is connected to the electronic device through the external device interface 130. The first charging circuit 200 may be a switching charging circuit or a linear charging circuit.

The second charging circuit 210 may be electrically connected to the wire charging device via the switch 202 and via the external device interface 130. The second charging circuit 210 may convert power supplied from the wire charging device into a charging voltage and a charging current and provide the converted charging voltage and charging current to the battery 220. The second charging circuit 200 may be a switching charging circuit or a linear charging circuit. For example, the first charging circuit 200 and the second charging circuit 210 may be the same type of charging circuit or different types of charging circuits. In addition, the first charging circuit 200 and the second charging circuit 210 may be integrated into a single chip or respectively into two chips.

As described above, the charging unit 120 may charge the battery 220 using a specific charging circuit corresponding to the charge capacity of the wire charging device by controlling the switch 202 according to control of the processor 100.

The external device interface 130 may connect an external electronic device with the processor 100 and the charging unit 120. The external device interface 130 may include a USB connection terminal and detect an external device or a charging device that is connected to the electronic device using a wired connection, and inform the processor 100 of the detection of the external device or charging device. In addition, the external device interface 130 may detect the connection of a wireless charging device. For example, the external device interface 130 may detect the wireless charging device and inform the processor 100 of the detection of the wireless charging device when an induced current caused by an external charge pad is detected. The external device interface 130 may apply the power supplied from the wire charging device to the first charging circuit 200, and may apply the power supplied from the wireless charging device to the second charging circuit 210.

The touch screen 140 may provide an interface for inputs and outputs between the electronic device and a user. The touch screen 140 may include a display unit 141 and an input unit 142. The touch screen 140 may be a medium through which a touch input of the user may be detected and delivered to the processor 100 and/or an output from the processor 100 may be displayed and provided to the user.

The display unit 141 may display various information generated during operation of the electronic device according to control of the processor 100. For example, the display unit 141 may display information indicating that the electronic device is performing wire charging and/or wireless charging, or display information indicating that the electronic device is performing wireless charging while performing the USB OTG operation.

The input part 142 may include a touch sensor for detecting a touch on the display unit 141. For example, the input part 142 may detect a user input requesting entry into the USB OTG mode and may provide the detected result to the processor 100.

FIG. 3 illustrates an example process for providing a USB OTG function and charging function according the present disclosure. The operations of the process may be performed, for example, by the electronic device.

Referring to FIG. 3, the electronic device may check whether a wire connection device is detected at block 301. If the wire connection device is not detected, block 315 may be performed. On the other hand, if the wire connection device is detected at block 301, at block 303 the electronic device may determine whether the wire connection device is a charging device (e.g., a charger) for supplying power or whether the wire connection device is an external electronic device for performing the USB OTG function. For example, the electronic device may determine whether the wire connection device is a charging device based on ID information received from the wire connection device.

The processor 100 can obtain information about the type of the wire charging device through the ID information received or detected from the charging device. The ID information of the charging device may be obtained, for example, based on a voltage (or current) value at ID pin included in the external device interface 130 or detected when coupled thereto. For example, as described in connection with the FIG. 1, if the voltage (or current) value detected via the external device interface 130 is one, the processor may determine the type of the wire charging device to the external device interface 130 as a travel adaptor (TA). As another example, if the resistance value detected via the external device interface 130 is another value, the processor may determine the type of the wire charging device to the external device interface 130 as a USB storage device or a USB charger.

If the wire connection device is determined to be a wire charging device at block 303, the electronic device may convert power supplied from the charging device into the charging voltage and charging current for charging the battery (e.g., battery 220) using a first charging circuit (e.g. first charging circuit 200) or a second charging circuit (e.g., second charging circuit 210) at block 305.

If the first charging circuit and the second charging circuit are different types of charging circuits, the electronic device may select one of the first and second charging circuits based on the type and/or charge capacity of the wire charging device and charge the battery using the selected charging circuit. Operations for selecting a charging circuit and charging a battery based on the type and/or charge capacity of a wire charging device will be described below with reference to FIG. 4.

At block 307, the electronic device may determine whether charging using the wire charging device has ended. For example, the electronic device can determine that charging using the wire charging device has ended when the wire charging device is separated from the electronic device. The process may return to block 305 to keep supplying charge power from the wire connection device to the battery if the charging using the wire charging device has not ended, but may end if charging using the wire charging device has ended.

If at block 303 it is determined that the wire connection device is not the charging device, at block 309 the electronic device may determine whether to enter the USB OTG mode. For example, if a storage device is connected to the electronic device through a USB connection, the electronic device may display a message inquiring whether to enter the USB OTG mode and receive an input from a user in response to the message. The electronic device may also automatically enter the USB OTG mode when an external device which supports the USB OTG mode is connected. If determination is made not to enter the USB OTG mode, the electronic device may terminate the process.

If determination is made at block 309 to enter the USB OTG mode, the electronic device may apply power to the wire connection device by using, for example, the first charging circuit, at block 311. For example, the electronic device may apply power charged in the battery, through the first charging circuit, to an external device that is connected to the electronic device using a wired connection for the operation of the external device. At block 313, the electronic device may examine whether the USB OTG mode has ended. For example, the electronic device may determine whether the USB OTG mode has ended when the wire connection device is separated from the electronic device or when the user requests termination of the USB OTG function.

At block 315, the electronic device may examine whether a wireless charge event is detected. For example, the electronic device may detect the generation of the wireless charge event when a wireless charge function is selected by the user or when power supplied by a wireless charging device is detected. The charging unit 120 of the electronic device may detect the generation of the wireless charge event when induced current inputted from the wireless charging device via an external device interface 130 is detected. If the wireless charge event has not been generated, the process may be repeated from block 301.

If the wireless charge event is generated, at block 317, the electronic device may convert wirelessly-charged power into charging voltage and charging current for charging the battery, using the second charging circuit. At this time, the electronic device can apply the power charged in the battery to the wire connection device using the first charging circuit, and at the same time charge the battery using the wireless charging voltage received through the second charging circuit. At block 319, the electronic device may determine whether the wireless charging has end. For example, the electronic device may determine that the wireless charging has ended when voltage is no longer detected from the wireless charging device, or when termination of the wireless charging function is requested by a user. If at block 319 determination is made that the wireless charging has not ended, the process may repeat from block 301. If at block 319 determination is made that the wireless charging has ended, the process may end.

FIG. 4 is a diagram illustrating an example process of performing wire charging according to the present disclosure. The operations of the process may be performed, for example, by the electronic device. Descriptions with respect to FIG. 4 will be made assuming that a first charging circuit and a second charging included in the electronic device are different types of charging circuits. For example, the first charging circuit may be a switching charging circuit, and the second charging circuit may be a linear charging circuit. For illustration purposes, the following description is given under assumption that a wireless charging device is not connected to the electronic device.

Referring to FIG. 4, at block 401 the electronic device may detect a type of the wire charging device connected to the electronic device. At block 403, the electronic device may detect the charge capacity of the wire charging device detected at block 401 (e.g., amount of the charging current). In detecting the type of the wire charging device, for example, the electronic device may receive an ID from the connected wire charging device and determine the type of the wire charging device.

At block 405, the electronic device may select one of the first charging circuit and the second charging circuit included in the electronic device based on the determined type and charging capacity of the wire charging device. The selection may be achieved using a look up table stored in a memory where various ranges of charging capacity for different type of wire charging devices are pre-stored. For example, the electronic device may select the switching charging circuit when the amount of voltage (or current) from the wire charging device received or detected thereon is greater than a threshold value, or if a detected charging capacity is equal to or greater than the threshold value. For example, the electronic device may select the switching charging circuit if the detected charging capacity is equal to or higher than a 1 A. The electronic device may select the linear charging circuit if the amount of voltage (or current) from the wire charging device is lower than a threshold value, or if a detected charging capacity is lower than or equal to the threshold value. For example, the electronic device may select the linear charging circuit if a detected charging capacity is equal to or lower than a 500 mA.

At block 407, the electronic device may determine whether the first charging circuit connected to the wire connection device is selected. If determination is made at block 407 that the first charging circuit is selected, block 409 may be performed and the electronic device may convert power from the wire charging device into the charging voltage and charging current of the electrode device via the first charging circuit, for charging the battery of the electronic device. After performing block 409, the process may end.

If at block 407 determination is made that the first charging circuit is not selected (e.g., the second charging circuit connected to the wireless connected device is selected), block 411 may be performed and the electronic device may perform a switching operation to switch the power supply path of the wire charging device from first charging circuit to the second charging circuit. For example, the electronic device may include a switch (e.g., switch 202) for switching the power supply path of the wire charging device from first charging circuit to the second charging circuit to apply power of the wire charging device to the second charging circuit. At block 413, the electronic device may convert the power from the wire charging device into the charging voltage and charging current of the electronic device via the second charging circuit, for charging the battery of the electronic device. After performing block 413, the process may end.

FIG. 5A is a diagram illustrating an example process for performing an USB OTG operation in an electronic device.

Referring to FIG. 5A, the electronic device may apply power to the wire connection device via the first charging circuit at block 501, and receive power from the wireless charging device at block 503 for charging the battery using the second charging circuit. The electronic device may perform the operation of block 503 while performing the operation of block 501. FIG. 5B illustrates hardware means for performing wireless charging while performing an OTG operation in the electronic device according to the present invention.

Referring to FIG. 5B, the electronic device includes means 511 for supplying power to the wire connection device via the first charging circuit and means 513 for charging its battery using power supplied from the wireless charging device via the second charging circuit.

FIG. 6A is a diagram illustrating an example process for performing wire charging in an electronic device.

Referring to FIG. 6A, at block 601 the electronic device may select one charging circuit among a plurality of charging circuits according to a wire charging device connected to the electronic device as discussed above. For example, the electronic device may select a charging circuit according to the ID, type and/or charging current of the wire charging device. At block 603, the electronic device may receive power from the wire charging device via the selected charging circuit for charging the battery of the electronic device.

FIG. 6B illustrates hardware means for performing a wire charging procedure in the electronic device according to the present invention. Referring to FIG. 6B, the electronic device includes means 611 for selecting a specific charging circuit among a plurality of charging circuits according to a wire charging device connected to the electronic device and means 613 for charging the battery using power supplied from the wire charging device via the selected charging circuit. In this case, the means for selecting the charging circuit of the electronic device selects a charging circuit corresponding to the ID, type and/or capacity of a charging current of the wire charging device.

The above-described methods, processes and/or operations according to the present disclosure can be implemented in hardware, firmware or as software or computer code that can be stored in a recording medium such as a CD-ROM, RAM, a floppy disk, a hard disk, or a magneto-optical disk or computer code downloaded over a network originally stored on a remote recording medium or a non-transitory machine readable medium and to be stored on a local recording medium, so that the methods described herein can be rendered in such software that is stored on the recording medium using a general purpose computer, or a special processor or in programmable or dedicated hardware, such as an ASIC or FPGA. As would be understood in the art, the computer, the processor, the microprocessor controller or the programmable hardware may include memory components, e.g., RAM, ROM, Flash, etc. that may store or receive software or computer code that when accessed and executed by the computer, processor or hardware implement the methods, processes and/or operations described herein. In addition, it would be recognized that when a general purpose computer accesses code for implementing the methods, processes and/or operations shown herein, the execution of the code transforms the general purpose computer into a special purpose computer for executing the methods, processes and/or operations shown herein.

While the present disclosure has been shown and described with reference to certain example embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims. Therefore, the scope of the disclosure is defined not by the detailed description of the disclosure but by the appended claims, and all differences within the scope of the claims will be construed as being included in the present disclosure. 

We claim:
 1. A method of operating an electronic device, the method comprising: detecting occurrence of a wireless charging event for wirelessly receiving first power; charging a battery of the electronic device using the first power, based on detecting the occurrence of the wireless charging event; detecting, in a state of charging the battery using the first power, occurrence of a wired charging event for receiving second power via a wired connection; identifying first information associated with a first charge capacity of the first power and second information associated with a second charge capacity of the second power; identifying, based on the first and second information, which one of the first power and the second power has a higher charge capacity; and selecting the first power or the second power having the higher charge capacity for charging the battery.
 2. The method according to claim 1, wherein the electronic device comprises a mobile telephone or a tablet computer.
 3. The method according to claim 1, wherein the electronic device and the external electronic device comprise respective mobile telephones.
 4. The method according to claim 1, further comprising: displaying, on a display screen of the electronic device, a notification notifying that the first power is being supplied to the external electronic device.
 5. The method according to claim 1, wherein the wired connection is a Universal Serial Bus (USB) connection.
 6. The method according to claim 5, wherein the USB connection comprises a USB On-The-Go (OTG) connection.
 7. The method according to claim 6, further comprising: displaying, on a display screen of the electronic device, an operation state of the USB OTG connection.
 8. The method according to claim 1, wherein detecting the occurrence of the wireless charging event comprises detecting an induced current.
 9. An electronic device comprising: a battery; and circuitry configured to: detect occurrence of a wireless charging event for wirelessly receiving first power; control charging of the battery using the first power, based on detecting the occurrence of the wireless charging event; detect, in a state of charging the battery using the first power, occurrence of a wired charging event for receiving second power via a wired connection; identify first information associated with a first charge capacity of the first power and second information associated with a second charge capacity of the second power; identify, based on the first and second information, which one of the first power and the second power has a higher charge capacity; and control selecting the first power or the second power having the higher charge capacity for charging the battery.
 10. The electronic device according to claim 9, comprising a mobile phone or a tablet computer.
 11. The electronic device according to claim 9, wherein the circuitry is further configured to control displaying, on a display screen of the electronic device, of a notification notifying that the first power is being supplied to the external electronic device.
 12. The electronic device according to claim 9, wherein the wired connection comprises a Universal Serial Bus (USB) connection.
 13. The electronic device according to claim 12, wherein the USB connection comprises a USB On-The-Go (OTG) connection.
 14. The electronic device according to claim 9, wherein the circuitry is further configured to control display, on a display screen of the electronic device, of an operation state of the USB OTG connection. 